package com.wypiwyl.footastic.view;

import android.graphics.Canvas;
import android.graphics.Point;
import android.graphics.Rect;

public interface Layer {
    
//    protected Layer(int x, int y, int width, int height) {
//        this.layout = new Rect(x, y, x + width, y + height);
//    }
//    
//    protected Layer(Point position, int width, int height) {
//        this.layout = new Rect(position.x, position.y, position.x + width, position.y + height);
//    }
//    
//    protected Layer(Rect _layout) {
//        this.layout = _layout;
//    }
    
//    public abstract void doJob(Point pointEvent, int actionEvent);
    
    public void onDraw(Canvas canvas);
    
    public boolean isInside(Point point);

    public Rect getLayout();
   
    public int getWidthLayer();

    public int getHeightLayer();

    public int getLeft();

    public int getTop();

    public int getRight();

    public int getBottom();
}
